import { translate } from '@/utils/i18n'
export const formItems = [
  {
    filed: 'title',
    type: 'input',
    label: translate('title')
  },
  {
    filed: 'type',
    type: 'select',
    label: translate('adverTypes'),
    clearable: true,
    options: [
      { value: 0, label: translate('venueHomeBanner') },
      { value: 1, label: translate('xrgg') },
      // { value: 2, label: '首页悬浮广告' },
      { value: 3, label: translate('splb') },
      { value: 4, label: translate('shsylb') }
    ]
  },
  {
    filed: 'isAllow',
    type: 'select',
    label: translate('status'),
    clearable: true,
    options: [
      { value: '1', label: translate('qy') },
      { value: '0', label: translate('jy') }
    ]
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}
